/* reset css */
* {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: #050505;
}

input {
    border: 0px;
    box-sizing: border-box;
}

body {
    background-color: #f3f5f7;
    font-family: 'Microsoft Yahei';
}

/* 清楚浮动 */
.clearfix:before,
.clearfix:after {
    display: table;
    content: "";
}

.clearfix:after {
    clear: both;
}

.clearfix {
    zoom: 1;
}

.container {
    width: 1200px;
    margin: 0 auto;
}

/* header */
header {
    height: 100px;
    overflow: hidden;
}

/* tou*/
header .tou {
    /*先按照图片走*/
    width: 1366px;
    height: 42px;
    /*居中*/
    margin: 26px auto;
}

/* logo */
header .logo {
    float: left;
}

/* navbar */
header .nav {
    float: left;
    height: 42px;
    /* 行高继承 */
    line-height: 42px;
    margin-left: 50px;
}

header .nav li {
    float: left;
}

header .nav li a {
    display: block;
    padding: 0 10px;
    height: 42px;
}

header .nav li a:hover {
    border-bottom: 2px solid #00a4ff;
}

/* search */
header .search {
    position: relative;
    width: 410px;
    height: 38px;
    float: right;
}

header .search input[type=text] {
    width: 410px;
    height: 38px;
    padding-left: 10px;
    border: 1px solid #00a4ff;
    outline: none;
}

header .search input[type=submit] {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 38px;
    background: #00a4ff url(../images/search_06.png) center center no-repeat;
}

/* person */
header .person {
    float: right;
    height: 42px;
    /* 行高继承 */
    line-height: 42px;
    /* 上0 右 15  下0 左  35 */
    margin: 0 15px 0 35px;

}

header .person img {
    margin: 0 15px;
    /* 图片和文字对齐 */
    vertical-align: middle;
}

.banner {
    height: 420px;
    background-color: #1c036c;
    position: relative;
}

.banner .container {
    height: 420px;
    background: url("../images/banner_03.png") no-repeat center center;
}

/* 子导航 */
.banner .subnav {
    float: left;
    height: 420px;
    width: 190px;
    /* 背景半透明 */
    background: rgba(0, 0, 0, 0.3);
}

.banner .subnav ul li {
    height: 45px;
    line-height: 45px;
    padding: 0 20px;
}

.banner .subnav li a {
    font-size: 14px;
    color: #fff;
}

.banner .subnav li a:hover {
    color: #00a4ff;
}

.banner .subnav a span {
    float: right;
}

/* 课程 */
.banner .course {
    float: right;
    width: 230px;
    height: 330px;
    background: #fff;
    margin-top: 50px;
}

.banner .course h2 {
    height: 48px;
    background-color: #6bceea;
    text-align: center;
    line-height: 48px;
    font-size: 18px;
    color: #fff;
}

.banner .course .content {
    padding: 0 20px;
}

.banner .course .content li {
    padding: 17px 0;
    border-bottom: 1px solid #ccc;
}

.banner .course .content li:last-child {
    border-bottom: none;

}

.banner .course .content li:last-child h4,
.banner .course .content li:last-child p {
    color: #00a4ff;
}

.banner .course .content li h4 {
    font-size: 16px;
    color: #4e4e4e;
}

.banner .course .content li p {
    font-size: 12px;
    color: #a5a5a5;
}

.banner .course .content .more {
    display: block;
    margin-top: 5px;
    border: 1px solid #00a4ff;
    height: 38px;
    line-height: 38px;
    font-weight: bolder;
    text-align: center;
    color: #00a4ff;
}



.banner .circle li {
    float: left;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    /* 上下6 左右 8 */
    margin: 6px 8px;
    border-radius: 50%;

}

.banner .circle .current {
    width: 19px;
    border-radius: 5px;
    background-color: #fff;
}

/* 推荐 */
.recommend {
    height: 60px;
    line-height: 60px;
    background-color: #fff;
    margin-top: 8px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    /* 盒子阴影 水平位置  垂直位置  模糊距离  影子颜色 */
}
/*hot*/
.new{
   
}

.recommend a {
    padding: 0 30px;
    border-right: 1px solid #ccc;
}

.recommend a:hover {
    color: #00a4ff;
}

.recommend a:first-child {
    color: #00a4ff;
}

.recommend a:last-child {
    color: #00a4ff;
    border: 0;
    float: right;
    font-size: 14px;
}

/* 推荐课程 */
.recommed-couser {
    margin-top: 35px;
}

/* recommed-hd */
.recommed-hd {
    height: 40px;
}

.recommed-hd h4 {
    float: left;
    color: #494949;
}

.recommed-hd a {
    float: right;
    margin-top: 10px;
    margin-right: 30px;
    font-size: 14px;
    color: #a5a5a5;
}

.recommed-hd a:hover {
    color: #00a4ff;
}
.program-hd .hot{
    color: #00a4ff;
}

/* recommed-hd */
.recommed-bd ul li {
    width: 228px;
    height: 270px;
    background-color: #fff;
    overflow: hidden;
    /* 溢出隐藏 */
    /* box-shadow:水平阴影 垂直阴影 模糊距离 阴影尺寸 阴影颜色  内/外阴影； */
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
    float: left;
    margin-right: 15px;
    margin-top: 15px;
    position: relative;
}
.new{
    position: absolute;
    right: 0;
    top: 0;
}

.recommed-bd ul li:nth-child(5n) {
    margin-right: 0;
}

.recommed-bd li h5,
.recommed-bd li p {
    padding: 0 20px 0 24px;
    margin-top: 12px;
}

.recommed-bd li h5 {
    font-size: 14px;
    line-height: 22px;
    font-weight: normal;
}

.recommed-bd li p {
    font-size: 12px;
    color: #999;
}

.recommed-bd p span {
    color: #ff7c2d;
}

/* 编程入门开始 */
.program {
    margin-top: 35px;
}

.program-hd h4 {
    float: left;
    color: #494949;
    margin-right: 352px;
}

.program-hd>a {
    float: right;
    margin-top: 10px;
    margin-right: 30px;
    font-size: 14px;
    color: #a5a5a5;
}

.program-hd a:hover {
    color: #00a4ff;
}

.program-hd ul {
    float: left;
}

.program-hd ul li {
    float: left;
    font-size: 16px;
    padding: 0 36px;
}

.program-hd ul li a {
    color: #a7a8a9;
}

.program-bd {
    margin-top: 15px;
}

.program-bd-l {
    width: 228px;
    height: 390px;
    float: left;
    margin-right: 15px;
    overflow: hidden;
}

.program-bd-r {
    float: right;
}

.program-bd-r-bottom ul li {
    width: 228px;
    height: 270px;
    background-color: #fff;
    overflow: hidden;
    /* 溢出隐藏 */
    /* box-shadow:水平阴影 垂直阴影 模糊距离 阴影尺寸 阴影颜色  内/外阴影； */
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
    float: left;
    margin-right: 15px;
    margin-top: 15px;
}

.program-bd-r-bottom ul li:nth-child(4n) {
    margin-right: 0;
}

.program-bd-r-bottom li h5,
.program-bd-r-bottom li p {
    padding: 0 20px 0 24px;
    margin-top: 12px;
}

.program-bd-r-bottom li h5 {
    font-size: 14px;
    line-height: 22px;
    font-weight: normal;
}

.program-bd-r-bottom li p {
    font-size: 12px;
    color: #999;
}

.program-bd-r-bottom p span {
    color: #ff7c2d;
}
/*teacher.hd*/
.teacher-bd ul li {
    width: 228px;
    height: 320px;
    position: relative;
    
    /* 溢出隐藏 */
    /* box-shadow:水平阴影 垂直阴影 模糊距离 阴影尺寸 阴影颜色  内/外阴影； */
    
    float: left;
    margin-right: 15px;
    margin-top: 15px;
}
/*牛人推荐*/
.box{
    width: 1220px;
    float: left;
    position: relative;
    overflow: hidden;
    

}
.box .learned{
    position: absolute;
    top: 10px;
    right: 0;
}
.box p{
    width: 201px;
    height: 122px;
    font-size: 12px;
    position: absolute;
    top: 213px;
    left: 0px;
    background: rgba(0, 0, 0, 0.4);
    
    color: #FFFFFF;
    letter-spacing: 2px;
    word-spacing: 2px;
    padding-left: 27px;
    padding-top: 21px;
}

.box p span.name{
    width: 114px;
    height: 18px;
    
    font-weight: bold;
    font-size: 18px;
    color: #FFFFFF;
    line-height: 20px;  
}
.box p span.kecheng{
    width: 114px;
    height: 20px;
    font-size: 18px;
    color: #FFFFFF;
    line-height: 20px;  
}
   .box .biye{
    margin-right: 15px;
   
    float: left;
    overflow: hidden;
    width: 471px;
   }
   .box .cui{
    margin-left: 243px;
    margin-top: 30px;
   }
  .box .tuijian{
    margin-top: 30px;
  }
  .box p.teshu{
    width: 201px;
    height: 320px;
    font-size: 12px;
    position: absolute;
    top: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0.4);
    
    color: #FFFFFF;
    letter-spacing: 2px;
    word-spacing: 2px;
    padding-left: 27px;
    padding-top: 21px;
}

.box p span.namemao{
    width: 114px;
    height: 18px;
    
    font-weight: bold;
    font-size: 18px;
    color: #FFFFFF;
    line-height: 20px; 
    position: absolute;
    top: 112px; 
}
.box p span.kc{
    width: 114px;
    height: 20px;
    font-size: 18px;
    color: #FFFFFF;
    line-height: 20px; 
    position: absolute;
    top: 112px; 
    right: 10px;
}
.box p span.xiangxi{
position: absolute;
top: 138px;
}
.box p span.nr{
    position: absolute;
    top: 170px;
}
/*侧边*/
.side{
width: 183px;
height: 490px;
background-color: #ffffff;
float: left;
position: absolute;
top: 911px;
left: 150px;
}
.side ul li {
    height: 45px;
    line-height: 45px;
    padding: 0 20px;
}
.side ul li a{
    font-size: 14px;
    line-height: 36px;
}
.side ul li a.blue{
    color: #00a4ff;
}
/* 页面底部分 */
.footer {
    height: 270px;
    background-color: #ffffff;
    margin-top: 100px;
}

.footer-in {
    padding-top: 30px;
    /*盒子没有给高度不用担心撑开盒子*/
}

.footer-l {
    float: left;
}

.footer-l p {
    font-size: 12px;
    line-height: 18px;
    color: #999;
    margin-top: 20px;
}

.footer-l a {
    display: block;
    width: 118px;
    height: 33px;
    border: 1px solid #00a4ff;
    text-align: center;
    font-size: 16px;
    line-height: 33px;
    margin-top: 15px;
}

.footer-r {
    float: right;
    color: #333;
}

.footer-r dl {
    float: left;
    width: 225px;
}

.footer-r dt {
    font-size: 16px;
    height: 30px;
}

.footer-r dd {
    font-size: 12px;
    height: 20px;
}

.footer-r dd a:hover {
    color: #00a4ff;
    text-decoration: underline;
    /*  添加下划线 */
}